﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>PraeMIC REST</title>

    <!-- Bootstrap -->
    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div class="container">
        <h1>PraeMIC REST</h1>

        <form class="form-inline">
            <div class="form-group">
                <label for="baseUrl">API Base URL</label>&nbsp;&nbsp;&nbsp;
                <input type="text" class="form-control" id="baseUrl" placeholder="http://" value="http://reqr.es/api/">
            </div>
        </form>


        <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title"><span class="badge">GET</span> LIST USERS</h3>
            </div>
            <div class="panel-body">
                <form class="form-inline">
                    <div class="form-group">
                        <label for="url1">URL</label>&nbsp;&nbsp;&nbsp;
                        <input type="text" class="form-control" id="url1" placeholder="" value="users?page=2">
                    </div>
                    <button type="button" id="button1" class="btn btn-primary">Execute</button>
                </form>

                <pre id="result1"></pre>

                <div id="htmlResult1">
                    <div class="media" id="template1" style="display: none">
                        <div class="media-left">
                            <a href="#">
                                <img class="media-object" src="" alt="">
                            </a>
                        </div>
                        <div class="media-body">
                            <h4 class="media-heading"></h4>
                        </div>
                    </div>
                </div>

            </div>
        </div>

    </div>


    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <!-- Latest compiled and minified JavaScript -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
    <script src="Scripts/app.js"></script>
</body>
</html>
